package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.User;

import java.util.List;


public interface UserService {
    boolean save(User user);

    boolean update(User user);

    boolean delete(Integer uuid);

    User get(Integer uuid);

    PageInfo<User> getAll(int page,int size);

    User login(String userName,String password);
}
